function main(index) {

    let treePanel = this.$$("tree_panel_19ontp"); // 获取树面板元素
    let treeSelectKey = treePanel.$$getSelection().selectedKeys[0];
    treePanel.$$clickNode({ key: treeSelectKey });

    Vue.nextTick(res => {
        let self = this;
        let pageTableList = "";
        if (index === 1) {
            pageTableList = self.$$("page_widget_list_gdwen3");
        } else if (index === 2) {
            pageTableList = self.$$("page_widget_list_gyxebh");
        } else {

        }

        if (pageTableList) {
            if (pageTableList.dataEngine && pageTableList.dataEngine.state) {
                // 给列表组件设置参数，参数名meter_id为要过滤列表中的列名，后面为参数值，取自树节点参数
                pageTableList.$children[0].$$setExtraParams({
                    type_id: index
                })
                // 找到列表部件中的表格组件元素
                let tableComp = pageTableList.dataEngine.state.getElement("card_container_9n442r");
                if (tableComp) {
                    //执行列表刷新
                    tableComp.$$refreshData();
                }
            }

        }
    });

}

